#define _CRT_SECURE_NO_WARNINGS
#define DAY_PER_WEEK 7
#include<stdio.h>
int main(void)
{
	int weeks, Days, days;
	printf("input the number of Days:");
	scanf("%d", &Days);
	while (Days > 0)
	{
		weeks = Days / DAY_PER_WEEK;
		days = Days % DAY_PER_WEEK;
		printf("%d Days are %d weeks,%d days\n", Days, weeks, days);
		printf("input next value:");
		scanf("%d", Days);
	}
	return 0;
}
